<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      :root {
        --bgc: yellow;
      }
      .two {
        --bgc: orange;
        background-color: var(--bgc);
      }
      .four {
        --bgc: red;
        background-color: var(--bgc);
      }
    </style>
  </head>
  <body>
    <div class="one">
      俺还是要
      <div class="two">
        可能就哇
        <div class="three">你好</div>
        <div class="four">雷浩</div>
      </div>
    </div>
  </body>
</html>
